home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / gadget / r3timeg.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.6 KB  |  66 lines

  1.  
  2. // JavaScript wrapper for r3timeg.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_R3TIMEGADGET_H = 1;
  7. include("oops/r3gadget.js")
  8.  
  9.  
  10. var R3CLID_TIMEGADGET = 1355;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3TIMEGA_Seconds = 1355501;
  19. function SetR3TIMEGA_Seconds(value) {
  20.   R3Set(this.r3obj, R3TIMEGA_Seconds, value, R3TID_FLOAT, 0); 
  21. }
  22.  
  23. function GetR3TIMEGA_Seconds() {
  24.   return R3Get(this.r3obj, R3TIMEGA_Seconds, R3TID_FLOAT, 0); 
  25. }
  26.  
  27. R3TIMEGA_UnitConverter = 1355502;
  28. function SetR3TIMEGA_UnitConverter(value) {
  29.   R3Set(this.r3obj, R3TIMEGA_UnitConverter, value, R3TID_OBJECT, 0); 
  30. }
  31.  
  32. R3TIMEGA_ZeroBasedFrameIndex = 1355506;
  33. function SetR3TIMEGA_ZeroBasedFrameIndex(value) {
  34.   R3Set(this.r3obj, R3TIMEGA_ZeroBasedFrameIndex, value, R3TID_BOOLEAN, 0); 
  35. }
  36.  
  37. R3TIMEGA_Animator = 1355507;
  38. function SetR3TIMEGA_Animator(value) {
  39.   R3Set(this.r3obj, R3TIMEGA_Animator, value, R3TID_OBJECT, 0); 
  40. }
  41.  
  42. R3TIMEGA_Relative = 1355508;
  43. function SetR3TIMEGA_Relative(value) {
  44.   R3Set(this.r3obj, R3TIMEGA_Relative, value, R3TID_BOOLEAN, 0); 
  45. }
  46.  
  47.  
  48.  
  49. function r3Timegadget () { 
  50.    this.base = r3God;
  51.    if(arguments.length) {
  52.       this.base(R3CLID_TIMEGADGET, arguments);
  53.    }
  54.    // Methods
  55.  
  56.    // Attributes
  57.    this.GetSeconds=GetR3TIMEGA_Seconds;
  58.    this.SetSeconds=SetR3TIMEGA_Seconds;
  59.    this.SetUnitConverter=SetR3TIMEGA_UnitConverter;
  60.    this.SetZeroBasedFrameIndex=SetR3TIMEGA_ZeroBasedFrameIndex;
  61.    this.SetAnimator=SetR3TIMEGA_Animator;
  62.    this.SetRelative=SetR3TIMEGA_Relative;
  63. }
  64.  
  65. r3Timegadget.prototype=new r3Gadget;
  66. // r3timeg.h_H